package org.vincen.client;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.vincen.server.HelloWorld;

public class Client {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("client.xml");
		HelloWorld hw = (HelloWorld)context.getBean("helloClient");
		String s = hw.sayHi("release your sex");
		System.out.println(s);
	}
}
